Adwaita: Unify sidebar background-color
authornana-4 <hnmaigo@gmail.com>
Sun, 22 Nov 2020 05:22:39 +0000 (14:22 +0900)
committerJakub Steiner <jimmac@gmail.com>
Mon, 23 Nov 2020 09:51:58 +0000 (10:51 +0100)
The sidebar item style is already unified. The sidebar background-color
should be unified as well.

See https://gitlab.gnome.org/GNOME/gtk/-/issues/3382

gtk/theme/Adwaita/_common.scss

index 73744533926792a462019d48a948e307d151a0d5..ad3b06788d4f33e401ab8d011db2eaf4331fbd83 100644 (file)
@@ -187,7 +187,6 @@ label {
 window.assistant {
   .sidebar {
     padding: $menu-margin;
-    background-color: $base_color;
     border-top: 1px solid $borders_color;
   }
 
@@ -3540,7 +3539,6 @@ filechooserbutton:drop(active) {
  * Sidebar *
  ***********/
 .sidebar {
-  border-style: none;
   background-color: mix($bg_color, $base_color, 50%);
 
   &:not(separator) {
@@ -3560,6 +3558,7 @@ filechooserbutton:drop(active) {
     }
   }
 
+  listview.view,
   list { background-color: transparent; }
 
   paned & { &.left, &.right, &.left:dir(rtl), &:dir(rtl), &:dir(ltr), & { border-style: none; }}